package com.yxuan.springboot.model;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * 
 * @author zchao
 *    Agents实体类
 * @date 2024-05-24 16:34:51
 */
@Data
@ApiModel(description = "代理表")
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler" })
public class Agents implements Serializable{

	  private static final long serialVersionUID = 1L;
	
	  @ApiModelProperty(value = "")
	  private Integer id;
	  @ApiModelProperty(value = "代理id")
	  private String agentid;
      //创建时间
      @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss" ,timezone = "GMT+8")
	  private Date createTime;
	  @ApiModelProperty(value = "逻辑删除(0:未删，1：已删)")
	  private String logicalDel;
	  @ApiModelProperty(value = "代理人所属公司")
	  private String acompany;
	  @ApiModelProperty(value = "代理人电话号码")
	  private String aphonenumber;
	  @ApiModelProperty(value = "代理端密码")
	  private String apassword;
	@ApiModelProperty(value = "收款二维码")
	private String collectQR;
	@ApiModelProperty(value = "代理用户二维码")
	private String agentQR;
	@ApiModelProperty(value = "含有代理id的微信小程序二维码")
	private String wxQR;
	@ApiModelProperty(value = "分佣比例")
	private Double shareRatio;
	@ApiModelProperty(value = "上级代理id")
	private String upId;

}
